import optimizedLocalStorage from './optimizedLocalStorage'
import CacheStorage from './CacheStorage'
const localStorageAvailable = !!window.localStorage
export default localStorageAvailable ? optimizedLocalStorage : new CacheStorage()
